package com.dmooo.yxmmerchant.view.contract;

import com.common.mvpbase.BaseView;
import com.common.net.listener.HttpOnNextListener;
import com.dmooo.yxmmerchant.domain.ArticleListBean;
import com.dmooo.yxmmerchant.domain.ArticleMsgBean;

import java.util.List;

public class NewsContract {
    public interface NewsView extends BaseView {
        void showNewDetail(ArticleMsgBean articleMsg);
        void showArticleList(List<ArticleListBean.Item> items);
    }
    public interface NewsMdl{
        void getNewDetail(String article_id, HttpOnNextListener listener);
        void getListByCatId(String cat_id, int page, HttpOnNextListener listener);
    }
    public interface NewsPtr{
        void getNewsDetail(String article_id);
        void getListByCatId(String cat_id, int page);
    }
}
